import React, { Component } from 'react'
import './Goback.less'
import { withRouter } from 'react-router-dom'
 class Goback extends Component {
    render() {
        return (
            <div className="box111" onClick={this.goback.bind(this)}>
                返回上一页
            </div>
        )
    }
    goback() {
        this.props.history.goBack()
    }
}
export default withRouter(Goback)

